//
//  CKBaseNAVController.m
//  FreshBee
//
//  Created by chenkai on 16/10/15.
//  Copyright © 2016年 iOS013. All rights reserved.
//

#import "CKBaseNAVController.h"

@interface CKBaseNAVController ()

@end

@implementation CKBaseNAVController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    
}

- (void)pushViewController:(UIViewController *)viewController animated:(BOOL)animated{
    if(self.childViewControllers.count > 0){

        viewController.hidesBottomBarWhenPushed = YES;
    }
    [super pushViewController:viewController animated:animated];

}
@end
